package com.example.tsproject.service;

import com.example.tsproject.entity.QuestionAndAssignment;
import com.example.tsproject.entity.QuestionDetails;
import com.example.tsproject.entity.Questions;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface QuestionsService extends IService<Questions> {
    List<Questions> generateQuestions(List<Integer> chapterRange, String quantity);
    List<Questions> getQuestionsByAssignmentId(Integer assignmentId);
    List<QuestionDetails> getDetailedQuestionsByAssignmentIdAndStudentId(Integer assignmentId, String studentId);

    QuestionAndAssignment getQuestionByAssignmentQuestionId(Integer assignmentQuestionId,Integer assignmentId);

}
